package com.dingreading.cloud.admin.service;

import com.dingreading.cloud.admin.entity.AdminRoleStaff;
import com.dingreading.cloud.common.util.PageUtil;
import com.mybatisflex.core.paginate.Page;
import com.mybatisflex.core.service.IService;

import java.util.List;

/**
 * 服务层。
 *
 * @author Administrator
 * @since 2023-11-22
 */
public interface AdminRoleStaffService extends IService<AdminRoleStaff> {

    Page<AdminRoleStaff> pageList(PageUtil pageUtil, Long roleId);

    List<AdminRoleStaff> listByHeadStaffUid(String headStaffUid);

    int dropBean(Long roleId, String headStaffUid);

    int dropByRoleId(Long roleId);

    List<String> getByRoleIdAndStaffUid(Long roleId, List<String> headStaffUids);

    List<String> identifyListByStaffUid(String staffUid);
}
